Platform Explorer / Nuxeo Platform 6.0

Component org.nuxeo.platform.birt.reporting.contentView

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.platform.birt.reporting.contentView">

  <extension target="org.nuxeo.ecm.platform.ui.web.ContentViewService"
    point="contentViews">

    <contentView name="birt_report_models">

      <title>label.contentview.birt_report_model_list</title>
      <translateTitle>true</translateTitle>
      <showTitle>true</showTitle>

      <coreQueryPageProvider>
        <property name="coreSession">#{documentManager}</property>
        <pattern>
          SELECT * FROM Document WHERE ecm:path STARTSWITH ?
          AND ecm:currentLifeCycleState != 'deleted'
        </pattern>
        <parameter>#{reportActions.reportModelsContainerPath}</parameter>
        <sort column="dc:title" ascending="true" />
        <pageSize>20</pageSize>
      </coreQueryPageProvider>

      <showPageSizeSelector>true</showPageSizeSelector>
      <useGlobalPageSize>true</useGlobalPageSize>
      <refresh>
        <event>documentChildrenChanged</event>
      </refresh>
      <cacheKey>#{reportActions.reportModelsContainerPath}</cacheKey>
      <cacheSize>10</cacheSize>

      <resultLayouts>
        <layout name="document_listing_table" title="document_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon.png"
          showCSVExport="true" showSpreadsheet="true" showEditColumns="true" />
      </resultLayouts>

      <selectionList>CURRENT_SELECTION</selectionList>
      <actions category="CURRENT_SELECTION_REPORTS_LIST" />
    </contentView>
  </extension>
</component>